package com.gz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gz.entity.Book;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 龙龙与贝儿
* @description 针对表【t_book】的数据库操作Service
* @createDate 2025-05-12 17:03:02
*/
public interface BookService extends IService<Book> {

    Page<Book>getBookAll(int pageNum,int pageSize,String keyword);

    Page<Book> getBookTypeById(Integer typeId, Integer pageNum, Integer pageSize);

    Book getBookById(Long bookId);

    Page<Book> getBookByKeyword(String searchText, int pageNum, int pageSize);
}
